package com.xxg.renrenlogin.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 获取验证码的手机信息
 *
 * @author xxg
 * @date 2020-09-26
 */
@Data
@ApiModel(value = "MobileInfoQuery", description = "获取验证码请求")
public class MobileInfoQuery {
    @NotNull(message = "mobile不能为null")
    @ApiModelProperty(value = "获取验证码的手机号", required = true)
    private String mobile;
}
